/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.retail.entity;

import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 采购入库单明细Entity
 * @author jyangye
 * @version 2018-01-16
 */
public class FxDeaWarehousingorderlist extends DataEntity<FxDeaWarehousingorderlist> {
	
	private static final long serialVersionUID = 1L;
	private String warehousinglistid;		// warehousinglistid
	private Integer waresid;		// waresid
	private String warehousingorderid;		// warehousingorderid
	private String unitprice;		// unitprice
	private Integer warehousingcount;		// warehousingcount
	private Double summoney;		// summoney
	private String batch;		// batch
	private String wareposition;		// wareposition
	
	public FxDeaWarehousingorderlist() {
		super();
	}

	public FxDeaWarehousingorderlist(String id){
		super(id);
	}

	@Length(min=1, max=32, message="warehousinglistid长度必须介于 1 和 32 之间")
	@ExcelField(title="warehousinglistid", align=2, sort=10)
	public String getWarehousinglistid() {
		return warehousinglistid;
	}

	public void setWarehousinglistid(String warehousinglistid) {
		this.warehousinglistid = warehousinglistid;
	}
	
	@ExcelField(title="waresid", align=2, sort=20)
	public Integer getWaresid() {
		return waresid;
	}

	public void setWaresid(Integer waresid) {
		this.waresid = waresid;
	}
	
	@Length(min=1, max=32, message="warehousingorderid长度必须介于 1 和 32 之间")
	@ExcelField(title="warehousingorderid", align=2, sort=30)
	public String getWarehousingorderid() {
		return warehousingorderid;
	}

	public void setWarehousingorderid(String warehousingorderid) {
		this.warehousingorderid = warehousingorderid;
	}
	
	@ExcelField(title="unitprice", align=2, sort=40)
	public String getUnitprice() {
		return unitprice;
	}

	public void setUnitprice(String unitprice) {
		this.unitprice = unitprice;
	}
	
	@NotNull(message="warehousingcount不能为空")
	@ExcelField(title="warehousingcount", align=2, sort=50)
	public Integer getWarehousingcount() {
		return warehousingcount;
	}

	public void setWarehousingcount(Integer warehousingcount) {
		this.warehousingcount = warehousingcount;
	}
	
	@NotNull(message="summoney不能为空")
	@ExcelField(title="summoney", align=2, sort=60)
	public Double getSummoney() {
		return summoney;
	}

	public void setSummoney(Double summoney) {
		this.summoney = summoney;
	}
	
	@Length(min=0, max=50, message="batch长度必须介于 0 和 50 之间")
	@ExcelField(title="batch", align=2, sort=70)
	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}
	
	@Length(min=0, max=30, message="wareposition长度必须介于 0 和 30 之间")
	@ExcelField(title="wareposition", align=2, sort=80)
	public String getWareposition() {
		return wareposition;
	}

	public void setWareposition(String wareposition) {
		this.wareposition = wareposition;
	}
	
}